﻿@model ADShop.Models.FirstOrderProduct

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

@*<fieldset>
    <legend>FirstOrderProduct</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.IDOrderProduct)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IDOrderProduct)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.IDUsers)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IDUsers)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.TotalPriceOrder)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TotalPriceOrder)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Active)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Active)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { /* id=Model.PrimaryKey */ }) |
    @Html.ActionLink("Back to List", "Index")
</p>*@
<div class="panel-body">
    <table class="table table-hover" id="sample-table-1">
        <thead>
            <tr>


                <th>@Html.DisplayNameFor(model => model.IDOrderProduct)</th>
                <th>@Html.DisplayNameFor(model => model.IDUsers)</th>
                <th>@Html.DisplayNameFor(model => model.TotalPriceOrder)</th>
                <th>@Html.DisplayNameFor(model => model.Active)</th>

            </tr>
        </thead>
        <tbody>
            <tr>


                <td>
                    <div class="editor-field">
                        @Html.DisplayFor(model => model.IDOrderProduct)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.DisplayFor(model => model.Member.UserEmail)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.DisplayFor(model => model.TotalPriceOrder)
                    </div>
                </td>
            
                <td>
                    <div class="editor-field">
                        @Html.DisplayFor(model => model.Active)
                    </div>
                </td>

            </tr>

        </tbody>
    </table>
</div>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.IDOrderProduct }, new { @class = "label label-default" }) |
    @Html.ActionLink("Quay lại Đơn Đặt Hàng", "Index", null, new { @class = "label label-default" })
</p>